home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / 109_01.zip / WP.OUT < prev    next >
Text File  |  1993-06-26  |  5KB  |  199 lines

  1.  
  2. WP (word processor) description
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                              The WP word processor
  9.                              ---------------------
  10.               WP is a batch mode word processor. It is invoked as: 
  11.  
  12.  
  13.         WP <input-file> <output-file> 
  14.  
  15.  
  16.           This means accept text with embedded commands from file name 
  17.           <input-file>  and  send the processed text to <output-file>.
  18.           These files are normally CP/M  disk  files  however  if  the
  19.           output  file  is  specified to be: LST: or CON: or PUN: then
  20.           the output is sent to the List device (printer), the Console 
  21.           device (crt), or the Punch device respectively.  An  example
  22.           invocation is: 
  23.  
  24.  
  25.         WP WP.DOC LST: 
  26.  
  27.  
  28.               The  word processor accepts several commands to justify,
  29.           center or simply pass thru text. In addition it allows  both
  30.           a  header  title  at the beginning of each page and a footer
  31.           title at the bottom of each page. These both default  to  an
  32.           empty line. 
  33.               Each WP command consists of 3 characters in the leftmost 
  34.           column and (in most cases) an optional parameter. Parameters 
  35.           are  strings  in  the  case  of header and footer titles and
  36.           numbers in all other cases. 
  37.               In the header and footer  strings,  leading  spaces  are
  38.           ignored  and all occurrences of # are replaced in the output
  39.           text by the current page number. If the first non  space  or
  40.           tab character in a header or footer string is " or ' it will 
  41.           be discarded, this is a means to allow leading spaces in the 
  42.           string since all spaces after the " or ' are significant. 
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                                                                 page    1
  66.  
  67.  
  68. WP (word processor) description
  69.  
  70.  
  71.               The  numeric  parameters  can be in one of two forms, an
  72.           absolute number sets the associated to that number or if out 
  73.           of legal range, to its limit. A signed (+ or -) number  sets
  74.           the  parameter  to its current value + or - the value of the
  75.           number. This allows setting for example a  paragraph  indent
  76.           margin  to  be  inset  from  the normal indent without being
  77.           required to remember where the current indent is set. 
  78.               The default mode is "fill" i.e. fit  as  many  words  as
  79.           possible  on  a line to fill out the line width, however any
  80.           input lines of text which start with space or  tab  maintain
  81.           that  number  of columns of leading space. In any case these
  82.           lines with leading whitespace  cause  a  "break"  i.e.  they
  83.           cause  the  following  text  to begin on a new line. Several
  84.           commands also cause a break (see table below). 
  85.               In the function categories below the lines  referred  to
  86.           in  centering  and underlining are input lines, therefore to
  87.           cause a single word to be  underlined,for  instance,  simply
  88.           place  it  on  a separate input line. Likewise, to avoid the
  89.           need to count lines, centering and underlining may  be  made
  90.           continous  by  setting the number of lines to something huge
  91.           e.g. 4000 until it is wished to disable them again at  which
  92.           point specifing 0 will cause an immediate disable. 
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.                             List of defined commands
  104.                             ------------------------
  105.  
  106.  
  107.  
  108.  
  109.         Command    Function                    Default         Break
  110.         -------    --------                    -------         -----
  111.         .bp n      begin page numbered n       n = +1          yes
  112.         .br        cause a break                               yes
  113.         .ce n      center the next n lines     n = 1           yes
  114.         .fi        enable filling                              yes
  115.         .fo s      set footer title to s       empty           no
  116.         .he s      set header title to s       empty           no
  117.         .in n      set indent to n             n = 0           no
  118.         .ls n      set line spacing to n       n = 1           no
  119.         .nf        disable filling                             yes
  120.         .pl n      set page length to n        n = 66          no
  121.         .rm n      set right margin to n       n = 60          no
  122.         .sp n      space n lines               n = 1           yes
  123.         .ti n      set temporary indent to n   n = 0           yes
  124.         .ul n      underline the next n lines  n = 1           yes
  125.  
  126.  
  127.     note:
  128.           underlining works only for printers which can back up the print
  129.  
  130.  
  131.                                                                 page    2
  132.  
  133.  
  134. WP (word processor) description
  135.  
  136.  
  137.           head one char position at a time
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.                                                                 page    3
  198.  
  199.